<?php if (!defined('THINK_PATH')) exit();?> <noempty name="valArr">		
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">属性名:</label>
    <div class="col-sm-5">
       <div class="input-group">
	      <input type="text" class="form-control pronameinput" name="proname" value="<?php echo ($valArr[0]['proname']); ?>">
	      <input type="hidden" name="proid" value="<?php echo ($valArr[0]['proid']); ?>">
	       <span class="input-group-btn"><span style="display:none" class="error text-danger">属性名不能为空</span> </span>
	    </div>
    </div>
  </div>

	<?php if(is_array($valArr)): $i = 0; $__LIST__ = $valArr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><div class="form-group">
	    <label for="inputEmail3" class="col-sm-2 control-label">属性值:</label>
	    <div class="col-sm-5">
	      <div class="input-group">
		      <input type="text" class="form-control val-edit" data-val="<?php echo ($val['valname']); ?>" data-valid="<?php echo ($val['valid']); ?>" name="val[<?php echo ($val['valid']); ?>]" value="<?php echo ($val['valname']); ?>" data-proname="<?php echo ($valArr[0]['proname']); ?>" data-proid="<?php echo ($valArr[0]['proid']); ?>">
		       <span class="input-group-btn "> 
		       	<button class=" btn btn-danger btn-xs btn-delete" type="button" data-valid="<?php echo ($val['valid']); ?>" data-proid="<?php echo ($val['proid']); ?>">彻底删除</button>
		       	<span style="display:none" class="error text-danger">属性值不能为空</span> 
		        </span>
		    </div>
	    </div>
	  </div><?php endforeach; endif; else: echo "" ;endif; ?>
</noempty>